Sim2Real Learning Of Vision-Based Obstacle Avoidance For Robotic Manipulators